package com.iss.demo.service;

import com.iss.demo.dao.UserTypeDao;
import com.iss.demo.entity.UserType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserTypeService {
    @Autowired
    private UserTypeDao dao;

    public List<UserType> selectAll(){
        return dao.selectAll();
    }
}
